	.file	1 "file_reader.c"
	.section .mdebug.abi32
	.previous
	.abicalls
	.text
	.align	2
	.globl	AddStr
	.ent	AddStr
AddStr:
	.frame	$fp,48,$31		# vars= 8, regs= 4/0, args= 16, extra= 8
	.mask	0xd0010000,-4
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$25
	.set	reorder
	subu	$sp,$sp,48
	.cprestore 16
	sw	$31,44($sp)
	sw	$fp,40($sp)
	sw	$28,36($sp)
	sw	$16,32($sp)
	move	$fp,$sp
	sw	$4,48($fp)
	sw	$5,52($fp)
	lw	$4,48($fp)
	la	$25,strlen
	jal	$31,$25
	move	$16,$2
	lw	$4,52($fp)
	la	$25,strlen
	jal	$31,$25
	addu	$2,$16,$2
	addu	$2,$2,1
	lw	$4,48($fp)
	move	$5,$2
	la	$25,realloc
	jal	$31,$25
	sw	$2,24($fp)
	lw	$2,24($fp)
	bne	$2,$0,$L18
	lw	$2,48($fp)
	sw	$2,28($fp)
	b	$L17
$L18:
	lw	$2,24($fp)
	sw	$2,48($fp)
	lw	$4,48($fp)
	lw	$5,52($fp)
	la	$25,strcat
	jal	$31,$25
	lw	$2,48($fp)
	sw	$2,28($fp)
$L17:
	lw	$2,28($fp)
	move	$sp,$fp
	lw	$31,44($sp)
	lw	$fp,40($sp)
	lw	$16,32($sp)
	addu	$sp,$sp,48
	j	$31
	.end	AddStr
	.size	AddStr, .-AddStr
	.rdata
	.align	2
$LC0:
	.ascii	"Archivo valido\n\000"
	.align	2
$LC1:
	.ascii	"%s\n\000"
	.align	2
$LC2:
	.ascii	"%s\000"
	.text
	.align	2
	.globl	readFile
	.ent	readFile
readFile:
	.frame	$fp,1120,$31		# vars= 1080, regs= 3/0, args= 16, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$25
	.set	reorder
	subu	$sp,$sp,1120
	.cprestore 16
	sw	$31,1112($sp)
	sw	$fp,1108($sp)
	sw	$28,1104($sp)
	move	$fp,$sp
	sw	$4,1120($fp)
	sw	$5,1124($fp)
	sw	$6,1128($fp)
	sw	$7,1132($fp)
	sw	$0,1048($fp)
	sw	$0,1096($fp)
	li	$4,1			# 0x1
	la	$25,malloc
	jal	$31,$25
	sw	$2,1048($fp)
	lw	$2,1048($fp)
	beq	$2,$0,$L20
	lw	$2,1048($fp)
	sb	$0,0($2)
$L20:
	.set	noreorder
	nop
	.set	reorder
$L21:
	addu	$4,$fp,24
	li	$5,1024			# 0x400
	lw	$6,1148($fp)
	la	$25,fgets
	jal	$31,$25
	bne	$2,$0,$L23
	b	$L22
$L23:
	lw	$4,1048($fp)
	addu	$5,$fp,24
	la	$25,AddStr
	jal	$31,$25
	sw	$2,1048($fp)
	b	$L21
$L22:
	addu	$2,$fp,1056
	lw	$4,1048($fp)
	move	$5,$2
	la	$25,validate
	jal	$31,$25
	sw	$2,1096($fp)
	lw	$2,1096($fp)
	bne	$2,$0,$L24
	la	$4,$LC0
	la	$25,printf
	jal	$31,$25
	b	$L25
$L24:
	la	$4,$LC1
	lw	$5,1056($fp)
	la	$25,printf
	jal	$31,$25
$L25:
	la	$4,$LC2
	lw	$5,1048($fp)
	la	$25,printf
	jal	$31,$25
	lw	$4,1048($fp)
	la	$25,free
	jal	$31,$25
	lw	$2,1096($fp)
	move	$sp,$fp
	lw	$31,1112($sp)
	lw	$fp,1108($sp)
	addu	$sp,$sp,1120
	j	$31
	.end	readFile
	.size	readFile, .-readFile
	.rdata
	.align	2
$LC3:
	.ascii	"-\000"
	.align	2
$LC4:
	.ascii	"r\000"
	.align	2
$LC5:
	.ascii	"Error abriendo archivo %s\n\000"
	.text
	.align	2
	.globl	readFiles
	.ent	readFiles
readFiles:
	.frame	$fp,72,$31		# vars= 16, regs= 3/0, args= 32, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$25
	.set	reorder
	subu	$sp,$sp,72
	.cprestore 32
	sw	$31,64($sp)
	sw	$fp,60($sp)
	sw	$28,56($sp)
	move	$fp,$sp
	sw	$4,72($fp)
	sw	$5,76($fp)
	sw	$6,80($fp)
	sw	$7,84($fp)
	sw	$0,44($fp)
	lw	$2,84($fp)
	beq	$2,$0,$L27
	lw	$4,84($fp)
	la	$5,$LC3
	la	$25,strcmp
	jal	$31,$25
	bne	$2,$0,$L27
	la	$2,__sF
	sw	$2,28($sp)
	lw	$2,88($fp)
	sw	$2,16($sp)
	lw	$2,92($fp)
	sw	$2,20($sp)
	lw	$2,96($fp)
	sw	$2,24($sp)
	lw	$4,72($fp)
	lw	$5,76($fp)
	lw	$6,80($fp)
	lw	$7,84($fp)
	la	$25,readFile
	jal	$31,$25
	sw	$2,44($fp)
	b	$L28
$L27:
	lw	$2,96($fp)
	blez	$2,$L28
	sw	$0,40($fp)
$L30:
	lw	$2,40($fp)
	lw	$3,96($fp)
	slt	$2,$2,$3
	bne	$2,$0,$L33
	b	$L28
$L33:
	lw	$2,40($fp)
	sll	$3,$2,2
	lw	$2,92($fp)
	addu	$2,$3,$2
	lw	$4,0($2)
	la	$5,$LC4
	la	$25,fopen
	jal	$31,$25
	sw	$2,48($fp)
	lw	$2,48($fp)
	bne	$2,$0,$L34
	lw	$2,40($fp)
	sll	$3,$2,2
	lw	$2,92($fp)
	addu	$2,$3,$2
	la	$4,__sF+176
	la	$5,$LC5
	lw	$6,0($2)
	la	$25,fprintf
	jal	$31,$25
	li	$2,1			# 0x1
	sw	$2,52($fp)
	b	$L26
$L34:
	lw	$2,48($fp)
	sw	$2,28($sp)
	lw	$2,88($fp)
	sw	$2,16($sp)
	lw	$2,92($fp)
	sw	$2,20($sp)
	lw	$2,96($fp)
	sw	$2,24($sp)
	lw	$4,72($fp)
	lw	$5,76($fp)
	lw	$6,80($fp)
	lw	$7,84($fp)
	la	$25,readFile
	jal	$31,$25
	sw	$2,44($fp)
	lw	$4,48($fp)
	la	$25,fclose
	jal	$31,$25
	lw	$2,40($fp)
	addu	$2,$2,1
	sw	$2,40($fp)
	b	$L30
$L28:
	lw	$2,44($fp)
	sw	$2,52($fp)
$L26:
	lw	$2,52($fp)
	move	$sp,$fp
	lw	$31,64($sp)
	lw	$fp,60($sp)
	addu	$sp,$sp,72
	j	$31
	.end	readFiles
	.size	readFiles, .-readFiles
	.ident	"GCC: (GNU) 3.3.3 (NetBSD nb3 20040520)"
